package com.paw.cycle.dependency;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;

/**
 * @author lvzihai
 * @date 2021/8/4
 **/
@Aspect
@Component
public class AspectProxy {

  @Before("execution(* com.paw.cycle.dependency.service.ServiceA.say(..))")
  public void sayA(){
    System.out.println("aop sayA");
  }
}
